﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="info_add.aspx.cs" Inherits="Info_info_add" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <Custom:Header runat="server" />
    <style>
        .imgwrap{text-align:center;width:150px;height:150px;}
        input{line-height:26px;}
    </style>
    <script type="text/javascript" src="../KindEditor/kindeditor-min.js"></script>
<script type="text/javascript" src="../KindEditor/lang/zh_CN.js"></script>
<script type="text/javascript" src="js/add.js"></script>
</head>
<body>
   
    <table cellspacing="1" cellpadding="0" class="tab" style="width:95%">
        <tbody>
            <tr>
                <td class="tdtitle">
                    标题：
                </td>
                <td colspan="3">
                    <input type="text" style="width:100%" class="txtbox"  name="title">
                </td>
                <td rowspan=7>
                    <table style="width:100%">
                        <tr>
                            <td valign="middle" class="imgwrap"><img src="#" class="thumimg" onload="changeImg(this,120,120)"; onerror="this.src='/images/no_photo.gif'" /></td>
                        </tr>
                        <tr>
                            <td align="center"><input type="button" class="selimg" value="选择预览图片" /></td>
                        </tr>
                    </table>
                   
                </td>
            </tr>
            <tr>
                <td class="tdtitle">
                    类型：
                </td>
                <td colspan="3">
                    <select name="category" style="width:100%">
                        <option >楼盘概况</option>
                        <option >房产资讯</option>
                         
                    </select>
                </td>
            </tr>
            <tr  class="trsub">
                <td class="tdtitle">
                    子类型：
                </td>
                <td colspan="3">
                    <select name="subcategory" style="width:100%;">
                        <option >封顶</option>
                        <option >营销中心开放</option>
                        <option ">样板房开放</option>
                        <option >认筹</option>
                        <option >开盘</option>
                        <option>优惠</option>
                        <option >其他</option>
                    </select>
                </td>
            </tr>
            <tr  class="trsub">
                <td class="tdtitle">
                    区域：
                </td>
                <td colspan="3">
                    <select name="area" style="width:100%">
                        <asp:Repeater ID="Repeater1" runat="server">
                            <ItemTemplate>
                                <option value="<%#(byte)Container.DataItem %>"><%#Container.DataItem %></option>
                            </ItemTemplate>
                        </asp:Repeater>
                    </select>
                </td>
            </tr>
            <tr  class="trsub">
                <td class="tdtitle">
                    开始时间：
                </td>
                <td>
                    <input class="txtbox" name="starttime" style="width:100%;" />
                </td>
                <td class="tdtitle">
                    结束时间：
                </td>
                <td>
                    <input class="txtbox" name="endtime" style="width:100%;" />
                </td>
            </tr>
            <tr  class="trsub">
                <td class="tdtitle">
                    活动地点：
                </td>
                <td colspan="3">
                    <input class="txtbox" name="address" style="width:100%;" />
                </td>
            </tr>
            <tr  class="trsub">
                <td class="tdtitle">
                    价格：
                </td>
                <td colspan="3">
                    <input class="txtbox" name="price" style="width:100%;" />
                </td>
            </tr>
            <tr class="trsub">
                <td class="tdtitle">
                    活动概要：
                </td>
                <td colspan="4">
                    <textarea style="width:100%; height: 100px;" name="shortdes"></textarea>
                </td>
            </tr>
            <tr>
                <td class="tdtitle">
                    详细内容：
                </td>
                <td colspan="4">
                    <input name="info_id" type="hidden" value="<%=Request["id"] %>" />
                    <textarea style="width:100%; height: 500px; display: none;" id="content" name="content"></textarea>
                </td>
            </tr>
        </tbody>
    </table>
    <div class="divsub"><span></span><input type="button" class="btn" id="save" value="保存" > <input type="button" value="返回列表" onclick="history.back()" class="btn"></div>
 
</body>
</html>
